/**
 * 
 */
package com.nari.heatassist.service;

import java.util.Date;
import java.util.List;

import com.nari.baseinfo.model.IHeatRoom;
import com.nari.heatassist.utils.ReportBuildupData;

/**
 * 
 * @author Xiaopeng
 * @date 2014-4-30
 */
public interface IRoomConsumeStatisService {

	/**
	 * 查询热用户对应时段的耗热报表数据
	 * @param heatRoomList
	 * @param startDate
	 * @param endDate
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-4-30
	 */
	public ReportBuildupData queryBuildingConsumeReport(List<IHeatRoom> heatRoomList, Date startDate, 
			Date endDate) throws Exception;
	
	/**
	 * 查询单一用户不同统计时段的耗热分析报表
	 * @param heatRoom
	 * @param startDate
	 * @param endDate
	 * @param timeFrequence 统计频率
	 * permonth：每月	peryear：每年
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-5-3
	 */
	public ReportBuildupData queryRoomConsumeByFrequency(IHeatRoom heatRoom, Date startDate, 
			Date endDate, String timeFrequence) throws Exception;
}
